<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2024/6/23
  Time: 18:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加页面</title>
    <link href="../lib/bootstarp.min.css" rel="stylesheet">
</head>
<body>

<div style="display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;">
    <form action="add.jsp" method="post">
        <div class="card">
            <div class="card-header"> 添加商品信息 </div>
            <div class="card-body">

                <div class="m-3">
                    <input name="typeinfo" placeholder="分类" class="form-control">
                </div>

                <div class="m-3">
                    <input name="gname" placeholder="商品名称" class="form-control">
                </div>

                <div class="m-3">
                    <input name="price" placeholder="价格" class="form-control">
                </div>

                <div class="m-3">
                    <input name="amount" placeholder="数量" class="form-control">
                </div>

            </div>

            <div class="card-footer">
                <a class="btn btn-success btn-sm" href="list.jsp">返回列表</a>
                <button class="btn btn-primary btn-sm">添加</button>
            </div>
        </div>

    </form>

</div>





<script src="../lib/bootstarp.min.js"></script>
</body>
</html>
